using SqlSugar;

/*
 * @author : xkdong@163.com
 * @date : 2024-3-15
 * @desc : 诊断与慢病关系表
 */
namespace YOUYOU.Models.Entities.DBModels
{
    /// <summary>
    /// 诊断与慢病关系表
    /// </summary>
    [SugarTable("disease_and_diagnosis", TableDescription = "诊断与慢病关系表")]
    public class DiseaseAndDiagnosis
    {
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "ID" ,IsIdentity = true, IsPrimaryKey = true)]
        public int ID{ get; set; }
        
        /// <summary>
        /// 慢病编码
        /// </summary>
        [SugarColumn(ColumnName = "DiseaseCode")]
        public string? DiseaseCode{ get; set; }
        
        /// <summary>
        /// 诊断代码
        /// </summary>
        [SugarColumn(ColumnName = "DiagnosisCode")]
        public string? DiagnosisCode{ get; set; }
        
    }
}